// 自动生成模板Shipu
package health

// Shipu 结构体
type Shipu struct {
	ID      uint   `gorm:"primarykey"` // 主键ID
	SpName  string `json:"spName" form:"spName" gorm:"column:sp_name;comment:食谱名称;size:255;"`
	SpImg   string `json:"spImg" form:"spImg" gorm:"column:sp_img;comment:食谱图片;size:255;"`
	SpXq    string `json:"spXq" form:"spXq" gorm:"column:sp_xq;comment:食谱详情（JSON格式）;type:text;"`
	SpVideo string `json:"spVideo" form:"spVideo" gorm:"column:sp_video;comment:相关视频;type:text;"`
	Views   *int   `json:"views" form:"views" gorm:"column:views;comment:浏览量;size:19;"`
}

// TableName Shipu 表名
func (Shipu) TableName() string {
	return "fd_sp"
}
